package com.example.homework1.entity;

public class Address {

    private String country;
    private  String province;
    private  String city;

    public Address() {

    }

    public String getCountry() {
        return country;
    }
    public void setCountry(String country){
        this.country=country;
    }
    public String getProvince(){
        return province;
    }
    public void setProvince(String province) {
        this.province = province;
    }
    public String getCity() {
        return city;
    }
    public void setCity(String city) {
        this.city = city;
    }
    public Address(String country, String province,String city) {
        this.country = country;
        this.province = province;
        this.city=city;
    }
    public void display(){
        System.out.println(country+","+province+","+city);
    }
}
